/**
* @author AlbertDarren
* @contact 2563491540@qq.com
*/
#include <cstdio>
#include <algorithm>
#include <cstdlib>
#include <ctime>
using namespace std;
bool cmp(int a,int b)
{
    return a>b;
}
int main_93()
{
    srand((unsigned int)time(nullptr));
    int len=10;
    int arr[len]={0};
    for (int i=0;i<len ; ++i)
    {
        arr[i]=rand()%100;
        printf("%d ",arr[i]);
    }
    putchar('\n');
    sort(arr,arr+len);
    for (int j=0;j<len ;++j )
    {
        printf("%d ",arr[j]);
    }
    putchar('\n');
    sort(arr,arr+len,cmp);
    for (int j=0;j<len ;++j )
    {
        printf("%d ",arr[j]);
    }
	return 0;
}
